//添加产品数据
export function addProducts(data){
    return {
        type: 'add',
        data
    }
}

//切换产品数据
export function changeProducts(data){
    return {
        type: "product",
        data
    }
}

//全屏展示数据
export function fullscreen(data){
    return {
        type: "fullscreen",
        data
    }
}

//退出全屏
export function exitFullscreen(){
    return {
        type: "exitFullscreen"
    }
}

//产品图片轮播
export function carousel(data){
    return {
        type: 'carousel',
        data
    }
}